﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TBlog.Helpers.PaginatedList<TBlog.Models.ViewData.PostModel.Posts>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        
        <%-- <!-- main --> --%>
		<div id="main" class="grid_8">
			<h2><a href="" rel="bookmark" title="Permanent Link to ">my title</a></h2>
			<p class="post-info">Posted by tong | Filed under xxxxx</p>
			Read the rest of this entry...
            <p>Tags: aaa,bbb,ccc</p>
			<p class="postmeta">		
			<a href="" class="readmore">Read more</a> |
			<a href="" class="comments">Comments (0)</a> |	
			<span class="date">15/02/54</span>	
			</p>
            <%-- <?php endwhile; ?> --%>

			<div class="alignleft">
            <%
                if (Model.HasPreviousPage){
                    Response.Write(Html.RouteLink("&laquo; Older Entries", "BlogPost", new { page = (Model.PageIndex - 1) }));
            } 
            %>
            </div>

            <div class="alignright">
            <%
                if (Model.HasNexePage){
                    Response.Write(Html.RouteLink("Newer Entries &raquo;", "BlogPost", new { page = (Model.PageIndex + 1) }));
            } 
            %>
            </div>
		</div>
        <%-- <!-- main ends --> --%>

</asp:Content>

		

